package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.PtnetworkstatusDao;
import com.bootdo.screen.domain.PtnetworkstatusDO;
import com.bootdo.screen.service.PtnetworkstatusService;



@Service
public class PtnetworkstatusServiceImpl implements PtnetworkstatusService {
	@Autowired
	private PtnetworkstatusDao ptnetworkstatusDao;
	
	@Override
	public PtnetworkstatusDO get(Integer id){
		return ptnetworkstatusDao.get(id);
	}
	
	@Override
	public List<PtnetworkstatusDO> list(Map<String, Object> map){
		return ptnetworkstatusDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return ptnetworkstatusDao.count(map);
	}
	
	@Override
	public int save(PtnetworkstatusDO ptnetworkstatus){
		return ptnetworkstatusDao.save(ptnetworkstatus);
	}
	
	@Override
	public int update(PtnetworkstatusDO ptnetworkstatus){
		return ptnetworkstatusDao.update(ptnetworkstatus);
	}
	
	@Override
	public int remove(Integer id){
		return ptnetworkstatusDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return ptnetworkstatusDao.batchRemove(ids);
	}
	
}
